{mform form=son id=$id module=$mid return=ttt}
<?php $fenxiangtu=dr_site_value('fenxiangtu');?>
{php $user=dr_member_info($ttt.uid);}
{php $imgs = dr_get_content_img($ttt.neirong);}
{php $urls = SITE_URL.'index.php?s='.$mid.'&c=son&id='.$id;}
<!--data-remodal-id="modal" role="dialog"-->
<div class="remodal"  role="dialog">
    <div id="loader_wrap">
        <div id="loader" class="square"></div>
        <div>分享海报生成中</div>
    </div>
    <button data-remodal-action="close" class="remodal-close d-zuo-10" aria-label="Close"></button>
    <div>
        <div class="poster-container " id="poster_wrap" style="display: inline-block;">
            <div class="poster d-beijing-baise">
                <div class="top d-kuan">
					
					{if $ttt.thumb}
                    <img src="{dr_thumb($ttt.thumb,360,240,0,'width')}" width="100%">
					{elseif $imgs}
					<img src="{dr_thumb($imgs['0'],360,240,0,'width')}" width="100%">
					{else}
					<img src="{dr_thumb($fenxiangtu,360,240,0,'width')}" width="100%">
					{/if}
                    {if $ttt.title}
                    <div class="title">{dr_strcut($ttt.title, 15)}</div>
					{else}
					<div class="title">{dr_strcut(dr_clearhtml($ttt.neirong), 15)}</div>
					{/if}
                </div>       
				<div class="d-clear"></div>
                <div class="poster-content uk-clearfix d-beijing-baise">
                    <div class="avatar">
						<img class="uk-border-circle d-yuanjiao-50" src="{dr_avatar($ttt.uid)}" width="30" height="30" alt="circle">
                        <span class="d-zitiyanse-hongse">
						{if $user.name}
                        	{$user.name}
                        {elseif $userweixin.nickname}
                        	{$userweixin.nickname}
                        {else}
                        	{$user.username}
                        {/if}
						
						</span>
                    </div>
                    <div class="time">
                        {dr_date($ttt.inputtime)}
                    </div>
                </div>
				<div class="d-clear"></div>
				{if $ttt.description}
                <div class="desc">{dr_strcut($ttt.description, 92)}</div>
				{else}
				<div class="desc">{dr_strcut(dr_clearhtml($ttt.neirong), 90)}</div>
				{/if}
                <div class="poster-foot d-beijing-baise">
                    <div class="poster-logo d-buhuanhang">
						
						<div class="d-kuan-70">
							<img src="{SITE_LOGOICO}" >
						</div>
                        
                        <div class="text uk-clearfix">
							<div>识别右侧二维码，进入</div><br>
							<span>{SITE_NAME}</span>
							<br>
							<div>阅读全文</div>
							
						</div>
                    </div>
                    <div class="qcode">
                        <img src="{dr_qrcode(dr_url_prefix(dr_son_url($ttt)))}">
                    </div>

                </div>
				<div class="d-clear"></div>
            </div>
        </div>
</div>
</div>
{/mform}
<style>

</style>